package entityhaspk;

import entityhaspk.EntityHasPkMatch;
import entityhaspk.EntityHasPkMatcher;
import org.eclipse.viatra2.emf.incquery.runtime.api.IncQueryEngine;
import org.eclipse.viatra2.emf.incquery.runtime.api.impl.BaseGeneratedMatcherFactory;
import org.eclipse.viatra2.emf.incquery.runtime.exception.IncQueryRuntimeException;

/**
 * A pattern-specific matcher factory that can instantiate EntityHasPkMatcher in a type-safe way.
 * 
 * @see EntityHasPkMatcher
 * @see EntityHasPkMatch
 * 
 */
public class EntityHasPkMatcherFactory extends BaseGeneratedMatcherFactory<EntityHasPkMatch,EntityHasPkMatcher> {
  @Override
  protected EntityHasPkMatcher instantiate(final IncQueryEngine engine) throws IncQueryRuntimeException {
    return new EntityHasPkMatcher(engine);
    
  }
  
  @Override
  protected String getBundleName() {
    return "hu.bme.mit.inf.omgi.queries";
    
  }
  
  @Override
  protected String patternName() {
    return "EntityHasPk";
    
  }
}
